/**
 * folktale使用
 */
const { compose, curry } = require("folktale/core/lambda");
const { first, toUpper } = require("lodash");

const f = curry(2, (x, y) => x + y);
console.log(f(1, 2));
console.log(f(1)(2));

const fd = compose(toUpper, first);
console.log(fd("dsad"));
